$tagColor:#1da1f2;
$lightFontColor:#999;
$blue: #1da1f2;
$blueFont: #fff;
$white:#fff;
$whiteFontColor:#434343;

$commonGap:30px;

/* 默认宽度 */
$browser-default-font-size:75px;
/* 去掉单位 */
@function strip-unit($number){
  @if type-of($number) == 'number' and not unitless($number){
    @return $number / ($number * 0 + 1);
  }
  @return $number;
}
/* px to rem */
@mixin pxToRem($property, $values...){
  $bm : strip-unit($browser-default-font-size);
  $pxs : '';
  $rems : '';
  $len : length($values);
  @for $i from 1 through $len{
    $px : strip-unit(nth($values, $i));
    $pxs : #{$pxs + $px}px;
    @if($i<$len){
      $pxs : $pxs + ' ';
    }
  }

  @for $i from 1 through $len{
    $rem : strip-unit(nth($values, $i))/$bm;
    $rems : #{$rems + $rem}rem;
    @if($i<$len){
      $rems : $rems + ' ';
    }
  }
  //#{$property} : $pxs;
  #{$property} : $rems;
}